﻿@model DDDSample.UI.Mvc.Models.CargoViewModel
@{
    ViewBag.Title = "Change destination of cargo";
}
<h2>Change destination for cargo @Model.TrackingId</h2>
<p>Use the form below to change destination of a cargo.</p>
@using (Html.BeginForm())
{
    <div>
        <fieldset>
            <legend>Cargo information</legend>
            <p>
                <label for="origin">Current destination:</label>
                @Model.Destination
            </p>
            <p>
                <label for="destination">New destination:</label>
                @Html.DropDownList("destination")
            </p>
            <p>
                <input type="submit" value="Change destination" />
            </p>
        </fieldset>
    </div>
}